<%--
*@Description 
*@Author KingTeng
*@Date 2022/3/13
*@Time 19:00
--%>
<%--
*@Description
*@Author KingTeng
*@Date 2022/3/13
*@Time 14:16
--%>
<html>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false"%>

<%@include file="header.jsp"%>
<%@include file="top.jsp"%>

<body>
<table class="table table-bordered">

    <li>
        <br/><br/>
        <h1>
            中高危地区管理
        </h1>
        <div>
            <table class="table">
                <thead>
                <tr>
                    <th>地区</th>
                    <th>名字</th>
                    <th>地址</th>
                    <th>电话</th>
                    <th>用户ID</th>
                </tr>
                </thead>
                <tbody>
                <c:forEach items="${stands}" var="stand" >
                    <tr>
                        <td>${stand.city}</td>
                        <td>${stand.address}</td>
                        <td>${stand.nam}</td>
                        <td>${stand.phone}</td>
                        <td>${stand.uid}</td>
                        <td>
                            <a href="${pageContext.request.contextPath}/DeleteStation?id=${stand.id}&uid=${stand.uid}">删除</a>
                        </td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>
        </div>
    </li>
</table>

<br>
<a href="${pageContext.request.contextPath}/toAddStand" style="right: 20px ;">新增站点</a>

</body>
</html>

